package org.hobbyhorse.ranks.client.mapper;

import org.hobbyhorse.ranks.client.ClientFactory;

import com.google.gwt.activity.shared.Activity;
import com.google.gwt.activity.shared.ActivityMapper;
import com.google.gwt.place.shared.Place;

public class RightPanelActivityMapper implements ActivityMapper {

	private ClientFactory clientFactory;
	
	public RightPanelActivityMapper(ClientFactory clientFactory) {
		super();
		this.clientFactory = clientFactory;
	}

	public Activity getActivity(Place place) {
/*		if (place instanceof HorsesPlace)
			return new HorsesActivity(clientFactory);
		if (place instanceof RidersPlace)
			return new RidersActivity(clientFactory);
*/		return null;
	}

}
